package com.hz.web.service.impl;

import com.hz.web.dao.CompanyBaseInfoMapper;
import com.hz.web.entity.CompanyBaseInfo;
import com.hz.web.service.ICompanyManageService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * Created by Wangh on 2018/4/29.
 */
@Service
public class CompanyManageImpl implements ICompanyManageService {
    @Resource
    CompanyBaseInfoMapper companyBaseInfoMapper;
    @Override
    public List<CompanyBaseInfo> queryCompanyList(Map<String, Object> parmsMap) {
        return companyBaseInfoMapper.queryList(parmsMap);
    }

    @Override
    public int queryCompanyCount(Map<String, Object> parmsMap) {
        return companyBaseInfoMapper.queryCount(parmsMap);
    }
}
